<!DOCTYPE html>
<html>
<head>
    <title>求购中心</title>
    <#include "../common.ftl">
</head>
<body class="childrenBody">
<form class="layui-form" >
    <blockquote class="layui-elem-quote quoteBox">
        <form class="layui-form">
            <div class="layui-inline">
                <div class="layui-input-inline">
                    <input type="text" name="title" class="layui-input searchVal" placeholder="请输入标题" />
                </div>
                <div class="layui-input-inline">
                    <input type="text" name="publishDate" class="layui-input searchVal" placeholder="请选择时间" id="test1">
                </div>
                <a class="layui-btn search_btn" data-type="reload">
                    <i class="layui-icon">&#xe615;</i>
                    搜索
                </a>
            </div>
        </form>
    </blockquote>

    <table id="seekList" class="layui-table"  lay-filter="seek"></table>

    <script type="text/html" id="toolbarDemo">
        <div class="layui-btn-container">
            <a class="layui-btn layui-btn-normal addNews_btn" lay-event="add">
                <i class="layui-icon">&#xe608;</i>
                添加求购信息
            </a>
            <a class="layui-btn layui-btn-normal delNews_btn" lay-event="ref">
                <i class="layui-icon">&#xe669;</i>
                刷新
            </a>
        </div>
    </script>

    <!--操作-->
    <script id="seekListBar" type="text/html">
        <a class="layui-btn layui-btn-xs" id="edit" lay-event="edit">详情</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
    </script>
</form>

<script>
    layui.use('laydate', function(){
        var laydate = layui.laydate;
        //执行一个laydate实例
        laydate.render({
            elem: '#test1' //指定元素
        });
    });
</script>

<script type="text/javascript" src="${ctx}/js/seek/seek.js">

</script>
</body>
</html>